Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /


Chapter 12 - Draw Context Objects

This chapter describes draw context objects (or draw contexts) and the functions you can use to manipulate them. You use draw contexts to connect your application to a specific drawing destination, such as a window system. For example, to draw into a Macintosh window, you create an instance of a Macintosh draw context object and attach it to a view.

To use this chapter, you should already be familiar with the QuickDraw 3D class hierarchy, described in the chapter "QuickDraw 3D Objects" earlier in this book. For information about attaching a draw context to a view, see the chapter "View Objects" in this book. You do not, however, need to know how to create or manipulate views to read this chapter.

This chapter begins by describing draw contexts and their features. Then it shows how to configure the settings of a draw context object. The section "Draw Context Objects Reference," beginning on page 12-8 provides a complete description of draw context objects and the routines you can use to create and manipulate them.


Chapter Contents
About Draw Context Objects
Macintosh Draw Contexts
Pixmap Draw Contexts
Using Draw Context Objects
Creating and Configuring a Draw Context
Using Double Buffering
Draw Context Objects Reference
Data Structures
Draw Context Data Structure
Macintosh Draw Context Structure
Pixmap Draw Context Structure
Draw Context Objects Routines
Managing Draw Contexts
Managing Macintosh Draw Contexts
Managing Pixmap Draw Contexts
Summary of the Draw Context Objects
C Summary
Constants
Data Types
Draw Context Data Structure
Macintosh Draw Context Data Structure
Pixmap Draw Context Data Structure
Draw Context Objects Routines
Managing Draw Contexts
Managing Macintosh Draw Contexts
Managing Pixmap Draw Contexts
Errors, Warnings, and Notices

Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996